/**
  * @file		labview.c
  * @author		Naresuan University: Advance Computer System, class of 2013
  * @version	V1.0.0
  * @date		18-September-2013
  * @brief		LabVIEW module
  */

/* Includes ------------------------------------------------------------------*/
#include "labview.h"

/* Private typedef -----------------------------------------------------------*/
/* Private define ------------------------------------------------------------*/
/* Private macro -------------------------------------------------------------*/
/* Private variables ---------------------------------------------------------*/
/* Private function prototypes -----------------------------------------------*/
static int checksum_Test(uint8_t command[]);

/* Private functions ---------------------------------------------------------*/

// Compute packet checksum and test against included checksum
int checksum_test(uint8_t command[])
{
	return 0;
}


/**
  * @brief		Synchronize with LabVIEW and sends info about the board and firmware.
  * @param		None
  * @retval		None
  */
void syncLV(void)
{
}


/**
  * @brief		Check for new commands from LabVIEW and processes them if any exists.
  * @param		None
  * @retval		1 - command received and processed, 0 - no new command.
  */
int checkForCommand(void)
{
	return 0;
}


/**
  * @brief		Process a given command.
  * @param		command		Buffer of COMMANDLENGTH bytes.
  * @retval		None
  */
void processCommand(uint8_t command[])
{
}
